flutter appbar width

53

appBar: PreferredSize(
  preferredSize: Size.fromHeight(100.0),
  child: AppBar(
    automaticallyImplyLeading: false, // hides leading widget
    flexibleSpace: SomeWidget(),
  )
),
var height = AppBar().preferredSize.height;

Comments

Submit
0 Comments